from rest_framework.routers import DefaultRouter
from .views import AdvertisementViewSet

router = DefaultRouter(trailing_slash=False)

router.register("advertisements", AdvertisementViewSet, basename="advertisement")
router.include_root_view = False

urlpatterns = router.urls
